<template>
<div class="bh-page-header">
	<div class="bh-page-header__left" @click='goBack'>
		<bh-icon name='back'></bh-icon>
		<div class="bh-page-header__title">返回</div>
	</div>
	<div class="bh-page-header__content">{{content}}</div>
</div>
</template>

<script>
export default {
	name: 'bh-page-header',
	props: {
		content: {
			type: String,
			default: 'info',
		},
	},
	data() {
		return {
		}
	},
	methods: {
		goBack() {
			this.$emit('back');
		},
	},
	computed: {
	},
}
</script>
